<template>
    <div>
        <!-- 组件过渡效果是这样写的 控制台有提示 -->
<router-view v-slot="{ Component }">
    <transition name="fade" mode="out-in">
        <component :is="Component" />
    </transition>
</router-view>
    </div>
</template>
<script>
    export default {

    }
</script>
<style scoped>

</style>